package cn.cdeden.knowledge.enums;

//import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.Pattern;
import lombok.Data;

//import javax.validation.constraints.Pattern;

/**
* @author Chen
* @date 2022-09-16
*/
@Data
public class TeamFilesTreeRenameParam {

//    @ApiModelProperty(value = "编号")
    private Long id;

//    @ApiModelProperty(value = "文件名称")
    @Pattern(regexp = "^[^/\\\\\\:\\*\\?\\\"\\<\\>\\|\\\\]{1,216}$", message = "文件名称,不能用 `\\/:*?\"<>|` 作为文件名称,最长为216位")
    private String realName;

//    @ApiModelProperty(value = "备注")
    private String remarks;

//    @ApiModelProperty(value = "上级编号")
    private String parentId;

//    @ApiModelProperty(value = "后缀名")
    private String suffix;
}
